GoXam for WPF v3
ModifyParentNodeKey Method
Northwoods.GoXam.Model Namespace > TreeModel<NodeType,NodeKey> Class : ModifyParentNodeKey Method
the node data to be modified
the key value of the "parent" node data
This method actually implements the modification of a node data so that its reference to a parent node data (if any) is the given parentkey.
Syntax
protected virtual void ModifyParentNodeKey( 
   NodeType nodedata,
   NodeKey parentkey
)

Parameters

nodedata
the node data to be modified
parentkey
the key value of the "parent" node data
Remarks
This method can be overridden in case the ParentNodePath property path is not flexible enough or fast enough to get the key for a node.
See Also

Reference

TreeModel<NodeType,NodeKey> Class
TreeModel<NodeType,NodeKey> Members